<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="ShadowTimerFrame.lua" />
	<Frame name="ShadowTimerFrame" setAllPoints="true" alpha="10" toplevel="true" movable="true" frameStrata="BACKGROUND" protected="true">
		<Size>
			<AbsDimension x="117" y="40" />
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset x="0" y="-70" />
			</Anchor>
		</Anchors>
		<Layers>
			<Layer>
				<Texture name="Texture8">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="280" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture7">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="240" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture6">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="200" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture5">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="160" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture4">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="120" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture3">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="80" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture2">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="40" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="Texture1">
					<Size x="39" y="39" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="0" y="-1" />
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT1" inherits="GameFontNormal" text="win1">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="" relativePoint="TOPLEFT">
							<Offset x="0" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT2" inherits="GameFontNormal" text="win2">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="" relativePoint="TOPLEFT">
							<Offset x="40" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT3" inherits="GameFontNormal" text="win3">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="" relativePoint="TOPLEFT">
							<Offset x="80" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT6" inherits="GameFontNormal" text="win3">
					<Anchors>
						<Anchor point="CENTER" relativeTo="Texture6" relativePoint="CENTER">
							<Offset x="0" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT7" inherits="GameFontNormal" text="win3">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="" relativePoint="TOPLEFT">
							<Offset x="240" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="TEXT8" inherits="GameFontNormal" text="win3">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="" relativePoint="TOPLEFT">
							<Offset x="280" y="0" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>ShadowTimerFrame_OnLoad();</OnLoad>
			<OnUpdate>ShadowTimerFrame_OnUpdate(elapsed);</OnUpdate>
			<OnEvent>ShadowTimerFrame_OnEvent();</OnEvent>
			<OnMouseDown>
				if STmode == 2 then
				if button == "LeftButton" and not self.isLocked then
				self:StartMoving();
				self.isMoving = true;
				end
				end
			</OnMouseDown>
			<OnMouseUp>
				if button == "LeftButton" and self.isMoving then
				self:StopMovingOrSizing();
				self.isMoving = false;
				point, relativeTo, relativePoint, xOffset, yOffset = self:GetPoint(1);
				ShadowtimerxPosiFrame = xOffset
				DEFAULT_CHAT_FRAME:AddMessage("-shadowtimer moved x:"..xOffset.." y:"..yOffset);
				end
			</OnMouseUp>
			<OnHide>
				if ( this.isMoving ) then
				this:StopMovingOrSizing();
				this.isMoving = false;
				end
			</OnHide>
		</Scripts>
	</Frame>
</Ui>